﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using LowLevelGraphics.CustomControls;

namespace ImageRecognition2.Forms
{
    /// <summary>
    /// For Monochromic use:
    /// Using of a conversion filter shifts gray tones.
    /// The color of the filter is enhanced, i.e. it is shown brighter
    /// while complementary colors are suppressed, shown darker. 
    /// Mit diesem Effekt lässt sich die Bildgestaltung mit Schwarz-Weiß-Filmmaterial sehr interessant verändern.    
    /// </summary>
    public partial class FormChannelMixer : Form, IFormFilter
    {
        protected Image m_ImageOriginal = null;

        public FormChannelMixer()
        {
            InitializeComponent();
            this.pictureBox2.BackgroundImageLayout = ImageLayout.Zoom;
        }

        /// <summary>
        /// Image Original
        /// </summary>
        public Image imgOriginal
        {
            get{return m_ImageOriginal;}
            set{m_ImageOriginal = value;}
        }

        /// <summary>
        /// Return preview PictureBox
        /// </summary>
        public SelectablePictureBox PictureBox
        {
            get { return pictureBox2; }
        }
    }
}
